package com.boboPlanet.user.feignApi;

import com.boboPlanet.comm.result.ResponseResult;
import com.boboPlanet.user.fallback.SysLogFallbackImpl;
import com.boboPlanet.user.fallback.TestApiFallbackImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: TODO
 * @Author: mis_wu
 * @Date: 2023/5/7
 * @Company api
 **/
@FeignClient(value = "${boboPlanet.base-dict-config-serve}",path = "/boboPlanetBaseDictConfigDev/testApi",fallbackFactory = TestApiFallbackImpl.class )
public interface TestApi {

    @GetMapping("/test")
    ResponseResult<String> test(@RequestParam String param);

}
